package com.hzx.ssm.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;


@ApiModel("墙消息实体类")
public class Message {
    @ApiModelProperty("墙消息id")
    private String message_id;
    @ApiModelProperty("墙消息标题")
    private String message_title;
    @ApiModelProperty("墙消息内容")
    private String message_content;
    @ApiModelProperty("墙消息发布时间")
    private Date message_time;
    @ApiModelProperty("消息是否通过审核")
    private Integer message_enable;
    @ApiModelProperty("墙消息发送时候的地址")
    private String message_address;
    @ApiModelProperty("发布该墙消息的用户id")
    private String message_userId;

    @ApiModelProperty("发布墙消息的用户名")
    private String message_userName;

    @ApiModelProperty("点赞的数量")
    private String message_upNum;

    public String getMessage_upNum() {
        return message_upNum;
    }

    public void setMessage_upNum(String message_upNum) {
        this.message_upNum = message_upNum;
    }

    public String getMessage_id() {
        return message_id;
    }

    public void setMessage_id(String message_id) {
        this.message_id = message_id;
    }

    public String getMessage_title() {
        return message_title;
    }

    public void setMessage_title(String message_title) {
        this.message_title = message_title;
    }

    public String getMessage_content() {
        return message_content;
    }

    public void setMessage_content(String message_content) {
        this.message_content = message_content;
    }

    public Date getMessage_time() {
        return message_time;
    }

    public void setMessage_time(Date message_time) {
        this.message_time = message_time;
    }

    public Integer getMessage_enable() {
        return message_enable;
    }

    public void setMessage_enable(Integer message_enable) {
        this.message_enable = message_enable;
    }

    public String getMessage_address() {
        return message_address;
    }

    public void setMessage_address(String message_address) {
        this.message_address = message_address;
    }

    public String getMessage_userId() {
        return message_userId;
    }

    public void setMessage_userId(String message_userId) {
        this.message_userId = message_userId;
    }

    public String getMessage_userName() {
        return message_userName;
    }

    public void setMessage_userName(String message_userName) {
        this.message_userName = message_userName;
    }

    @Override
    public String toString() {
        return "Message{" +
                "message_id='" + message_id + '\'' +
                ", message_title='" + message_title + '\'' +
                ", message_content='" + message_content + '\'' +
                ", message_time=" + message_time +
                ", message_enable=" + message_enable +
                ", message_address='" + message_address + '\'' +
                ", message_userId='" + message_userId + '\'' +
                ", message_userName='" + message_userName + '\'' +
                ", message_upNum='" + message_upNum + '\'' +
                '}';
    }
}
